<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
            <jsp:useBean id="BeanFuncionario" class="ctrl.Funcionario" />
            <jsp:setProperty name="BeanFuncionario" property="*" />
            <h1>Cadastro de Acidentes</h1>
            <h2>Lista</h2>
            <h6>*Selecione o funcionario</h6>
             <form action="cadastroAcidente.jsp?action=cadAcidente" method="post" id="form1">
                 <div style="width:500px" align="right"><input type="submit" value="Continuar" /></div>
            <table border="0">
                <thead>
                    <tr align="left">
                        <th width="10"></th>
                        <th width="90">Matrícula</th>
                        <th width="250">Nome</th>
                        <th width="70">Sexo</th>
                        <th width="150">Função</th>
                    </tr>
                </thead>
                <tbody>
                    <c:forEach var="lista" items="${BeanFuncionario.listaRegistro}" >
                    <tr>
                        <td><input type="radio" name="matricula"value="<c:out value="${lista.matricula}"></c:out>"></td>
                        <td><c:out value="${lista.matricula}"></c:out></td>
                        <td><c:out value="${lista.nome}"></c:out></td>
                        <td><c:out value="${lista.sexo}"></c:out></td>
                         <td><c:out value="${lista.funcao}"></c:out></td>
                         <td></td>
                    </tr>
                    </c:forEach>
                    
                </tbody>
            </table>
            </form>
